using System;
using System.Configuration;
using System.ServiceModel;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace Host
{
    class Program
    {
        public static void Main()
        {
            // Create a ServiceHost for the CalculatorService type.
            using (ServiceHost serviceHost = new ServiceHost(typeof(PokerServerWebService.ServiceImplementation.PokerGameService)))
            {
                // Open the ServiceHost to create listeners and start listening for messages.
                serviceHost.Open();

                // The service can now be accessed.
                Console.WriteLine("The service is ready.");
                Console.WriteLine("Press <ENTER> to terminate service.");
                Console.WriteLine();
                Console.ReadLine();
            }
        }
    }
}
